export interface OrderStatisticsData {
  /** 日期 */
  date: string
  /** 订单数量 */
  orderCount: number
}

export interface RevenueStatisticsData {
  /** 日期 */
  date: string
  /** 收益金额 */
  revenue: number
}

export interface StatisticsRequestData {
  /** 开始日期 */
  startDate: string
  /** 结束日期 */
  endDate: string
}

export type OrderStatisticsResponseData = ApiResponseData<OrderStatisticsData[]>

export type MerchantRevenueResponseData = ApiResponseData<RevenueStatisticsData[]>

export type PlatformRevenueResponseData = ApiResponseData<RevenueStatisticsData[]>